package com.superman.czx.service.impl;

import com.superman.czx.dao.DictDao;
import com.superman.czx.service.DictService;
import entity.Dict;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * (Dict)表服务实现类
 *
 * @author makejava
 * @since 2021-11-06 20:21:44
 */
@Service("dictService")
public class DictServiceImpl implements DictService {

    @Autowired
    private DictDao dictDao;

    @Override
    public List<Dict> search() {
        return dictDao.selectList(null);

    }
}
